/**
 * Payment.js
 *
 * @description :: TODO: You might write a short summary of how this model works and what it represents here.
 * @docs        :: http://sailsjs.org/documentation/concepts/models-and-orm/models
 */

module.exports = {

  tableName: 'sails_user',
  autoCreatedAt: false,
  autoUpdatedAt: false,
  attributes: {
    username: {
      type: 'string',
      columnName: 'username'
    },
    openid: {
      type: 'string',
      columnName: 'openid'
    },
    avatar: {
      type: 'string',
      columnName: 'avatar'
    },
    phone: {
      type: 'string',
      columnName: 'phone'
    }
  }
};

